package cn.veliger.springai.entity;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author veliger
 * create on 2025-07-01
 **/
@NoArgsConstructor
@Data
public class EasyDocParse {

    @JsonProperty("success")
    private Boolean success;
    @JsonProperty("err_code")
    private Object errCode;
    @JsonProperty("err_message")
    private Object errMessage;
    @JsonProperty("data")
    private DataDTO data;

    @NoArgsConstructor
    @Data
    public static class DataDTO {
        @JsonProperty("task_id")
        private String taskId;
    }
}
